/*eslint-disable*/

import React, { Component } from 'react';

import {
  Tabs,
} from 'antd-mobile';

import 'antd-mobile/dist/antd-mobile.css';

const tabs = [
  { title: '物品列表' },
  { title: '我的申请' },
];

class App extends Component {
    onClick = () => {
      alert('点击');
    };

    render() {
      return (
        <div>
          <Tabs
            tabs={tabs}
            initialPage="t2"
            animated={false}
            useOnPan={false}
          >

            <div style={{ display: 'flex', alignItems: 'center', justifyContent: 'center' }} onClick={this.onClick}>
                        物品列表444666
            </div>

            <div style={{ display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
                        我的申请
            </div>

          </Tabs>
        </div>
      );
    }
}

export default App;
